<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% String path=request.getServletContext().getContextPath(); %>
<!DOCTYPE html>
<html>	
<head>
<title>注册</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
    function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="/Travel/css/style_a.css?" rel='stylesheet' type='text/css'/>
 
</head>
<body>

	<section>
		<div class="login-form">
		<div class="reg-from">
		<div class="head-infos">
		注册信息
		</div class="clear">
		
		<div class="clear"> </div>
		<form action="<%=path %>/UserinfoController?action=reg" method="post">
				<input value="账号" type="text" name="userName"id="username"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '账号';}">
				
				<span id="name" class="error_tip"></span>
				
				<!-- <div class="key"> -->
				<input type="password" value="11111111"name="userPass" id="pwd"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'password';}">
			<!-- 	</div> -->
			<!-- 	<div> -->
				<input type="password" value="11111111"name="userPass" id="cpwd"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'password';}">
				<!-- </div> -->
			
				<input type="text"name="nickName"value="昵称" id="nickName"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '昵称';}">
				<span id="nicknames" class="error_tip"></span> 
			
				<input type="text" name="gender"value="性别"  id="gender"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '性别';}">
				
				<span id="gender" class="error_tip"></span>
			
				<input type="text" name="phone"value="电话"  id="phone"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '电话';}">
				<span id="phones" class="error_tip"></span>
				
				<input type="button" onclick="file.click()" value="上传头像"  onfocus="this.value = '上传头像';" onblur="if (this.value == '') {this.value = '';}">
				<input type="textfield" style="visibility:hidden" >
				<input type="file" name="file" style="visibility:hidden" id="file" >

				<input type="text" name="birthday"value="生日"  id="birthday"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '生日';}">
				<span id="birthdays" class="error_tip"></span>
			
				<input type="text" name="realName"value="真实姓名"  id="realname"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '真实姓名';}">
				<span id="realNames" class="error_tip"></span>
			
				<input type="text" name="address"value="家庭住址" id="address"onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '家庭住址';}">
				<span id="address" class="error_tip"></span>
			
				
			</div>
			<input type="submit" value="注册">
		</div>
		</form>
	</section>

	<div class="copy-rights"> 
	<script src="/Travel/js/jquery-3.3.1.min.js"></script>
	<script src="/Travel/js/reg.js"></script>
					<p>Copyright &copy; 2019.Company name All rights reserved- Collect from 去哪浪</p>
					
	</div>
</body>
</html>
